package lt.vin.exaatto.server.guice;

import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.servlet.GuiceServletContextListener;

public class ExaAttoGuiceServletContextListener extends GuiceServletContextListener {

	@Override
	protected Injector getInjector() {
//		if (System.getProperty("debug") != null) {
//			return Guice.createInjector(new ExaAttoTestServletModule());
//		} else {
			return Guice.createInjector(new ExaAttoServletModule());
//		}
	}
}